#include <iostream>
#include <math.h>
using namespace std;

int main()

{
    int i;
    i=0;

    while(i<30)
    {

        i=i+1;
        if(i==31)
        break;
        cout<<"lunes "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"martes "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"miercoles "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"jueves "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"viernes "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"sabado "<<i<<endl;
        i=i+1;
        if(i==31)
        break;
        cout<<"domingo "<<i<<endl;
        i=i+1;




    }






    return 1;
}
